handle upgrading repositories initialized with --version=9
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 16:55:51 +0000 (12:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 16:59:51 +0000 (12:59 -0400)
commite05dd7054480ea3bf98df43bf013a34281cb2e8d
tree2df8fa760fab9eecb42c51591fc1e93d453171e8
parent8230f4a6f19bc9ed758f6bb4199c274d0278cad2
handle upgrading repositories initialized with --version=9

As was attempted earlier in the buggy commit 0d2e3058ee01d55dc3b929ddf8e0573a95a2ca85

Avoided the bug that had by making the upgrade log be updated after each
upgrade step. So, after upgrade from v8 to v9, the log is updated, and
so Upgrade.V9's timeOfUpgrade check will find that it was upgraded
recently and so won't let it skip ahead to v10.

Sponsored-by: k0ld on Patreon
Upgrade.hs
Upgrade/V9.hs
doc/bugs/v8_repo_auto_upgrades_to_v10.mdwn
doc/bugs/v8_repo_auto_upgrades_to_v10/comment_1_446aa74f0b54918dc8737483e3e8564a._comment